﻿@using ViewServices

@{
    var configuration = DependencyResolver.Current.GetService<IConfiguration>();
}

<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8" />
        <title>@configuration.ForumName : @ViewBag.Title</title>
        <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
        <script src="@Url.Content("~/Scripts/jquery-1.7.2.js")" type="text/javascript"></script>
        <script src="@Url.Content("~/Scripts/jquery-ui-1.8.20.js")" type="text/javascript"></script>
        <script src="@Url.Content("~/Scripts/modernizr-1.7.js")" type="text/javascript"></script>
        <script src="@Url.Content("~/Scripts/jquery.unobtrusive-ajax.js")" type="text/javascript"></script>
        <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.js")" type="text/javascript"></script>
        <script src="@Url.Content("~/Scripts/jquery.validate.js")" type="text/javascript"></script>
        <script src="@Url.Content("~/Scripts/MicrosoftAjax.debug.js")" type="text/javascript"></script>
        <script src="@Url.Content("~/Scripts/MicrosoftMvcAjax.debug.js")" type="text/javascript"></script>
        <script src="@Url.Content("~/Scripts/MicrosoftMvcValidation.debug.js")" type="text/javascript"></script>
    </head>
    <body>
        <div class="wrapper">
            <div class="header">
                <div class="name">@configuration.ForumName</div>
                <div class="description">@configuration.ForumDescription</div>
                <div class="logon">
                    @Html.Partial("_LogOnPartial")
                </div>
            </div>
            <div class="contents">
                @Html.Action("TopTab", "Home")
                @RenderBody()
            </div>
        </div>
        <div class="footer">
            <p>Footer contents</p>
        </div>
    </body>
</html>
